package com.zofer.study.strategy.ifelse;

public class DiscountHandlerContext {
    private Discount discount;

    public DiscountHandlerContext(Discount discount) {
        this.discount = discount;
    }

    public double discount(double amount){
        return discount.discount(amount);
    }
}
